<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>课程</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #c4dbdc;
            margin: 0;
            padding: 20px;
        }

        h1 {
            color: #333;
            text-align: center;
            margin-bottom: 20px;
        }
        p {
        font-size: 2em; /* 设置字体大小为当前基础大小的两倍 */
        text-align: center; /* 文本居中 */
    }

        .ul {
            list-style-type: none;
            padding: 0;
        }

        .li {
            background-color: #fff;
            padding: 15px;
            margin-bottom: 8px;
            border: 1px solid #ccc;
            text-align: center;
        }

        h4 {
            text-align: center;
            margin-top: 20px;
        }

        a {
            text-decoration: none;
            color: #007bff;
        }

        a:hover {
            text-decoration: underline;
        }
        h4 {
        text-align: center;
        margin-top: 20px;
    }

    h4 a {
        text-decoration: none;
        padding: 10px 20px;
        background-color: #337ab7;
        color: #fff;
        border-radius: 5px;
    }

    h4 a:hover {
        background-color: #23527c;
    }
    </style>
</head>
<body>
    <h1>西亚斯数字技术产业学院</h1>  
    <p>课程信息表</p>
    <ul class="ul">
        {{range $class_page, $value := .class_slice}}
        <li class="li">
            row: {{$class_page }} classname: {{$value.Classname}} datetime: {{$value.Datetime}}
        </li>
        {{end}}
    </ul>
    <h4><a href="/index">返回</a></h4>
</body>
</html>
